const Koa = require('koa');
const middawear = require('./middleware/index.js')
const config = require('./config/config.js')

const app = new Koa();
app.use(middawear)

app.listen(config.port, () => console.log('服务启动：http://127.0.0.1:3002'));